package com.bcu.cn.onlineexamsystem.questionmanage.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.math.BigDecimal;

@Data
public class QuestionManage {
    private Long questionId;
    private String courseId;
    private String type;
    private String content;
    private String options;  // 存储JSON格式的选项数据
    private String answer;
    private BigDecimal score;
    private String teacherId;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String createTime;
} 